package pt.iscte.pcd.project.order;

import pt.iscte.pcd.project.remote.RemoteFile;


public class WriteRequestCloseOrder extends Order {

	private static final long serialVersionUID = 1L;
	private RemoteFile file;
	
	public WriteRequestCloseOrder(RemoteFile file) {
		this.setFile(file);
	}

	@Override
	public OrderType getTypeOrder() {
		return OrderType.WRITE_REQUEST_CLOSE_ORDER;
	}

	public RemoteFile getFile() {
		return file;
	}

	public void setFile(RemoteFile file) {
		this.file = file;
	}
}